# ifndef __TransformRect_H_
# define __TransformRect_H_

class C2WayTransformation;
struct rect_t;

void TransformRect (
	const C2WayTransformation * _pTransform1, const C2WayTransformation * _pTransform2,
	const rect_t & _rectFrom, rect_t & _rectTo,
	bool _bReverse
);

void TransformRectRough (
	const C2WayTransformation * _pTransform1, const C2WayTransformation * _pTransform2,
	const rect_t & _rectFrom, rect_t & _rectTo,
	bool _bReverse
);

# endif // __TransformRect_H_